<%@ Page Language="VB" MasterPageFile="~/main.master" AutoEventWireup="false" CodeFile="Reports.aspx.vb" Inherits="Reports" title="Reports - Medini Accounts" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <CR:CrystalReportViewer ID="crvAccounts" runat="server" PrintMode="Pdf"  HasPrintButton="True" />
    <asp:Panel ID="pnlReportLinks" runat="server" width="600px">
    <table width="100%" border="0" style="text-align:left; padding-left:40px; font-size:10pt;">
        <tr>
            <td>
                <h2><asp:Label ID="lblHeader" runat="server" Text="Reports"></asp:Label></h2>
            </td>
        </tr>
        <tr>
            <td>
                <div style="border-bottom-style: solid; border-bottom-width:1px ; border-bottom-color:gray;"> <b>Year Reports</b></div>
            </td>
        </tr>
        <tr>
            <td>
                <asp:HyperLink ID="lnkPrintPayment" Text="Print Payment Vouchers" runat="server" ></asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
                <asp:HyperLink ID="lnkPrintReciepts" Text="Print Reciept Vouchers" runat="server"></asp:HyperLink>
            </td>
        </tr>
        
        <tr>
            <td>
                <asp:HyperLink ID="lnkAllDataForYear" Text="Summary" runat="server"></asp:HyperLink>
            </td>
        </tr>
        
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                <div style="border-bottom-style: solid; border-bottom-width:1px ; border-bottom-color:gray;"> <b>Monthly Reports</b></div>
            </td>
        </tr>
        <tr>
            <td>
                Start Date: <asp:TextBox ID="txtFrom" runat="server"></asp:TextBox>
                <cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtFrom">
                </cc1:CalendarExtender>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;End Date: <asp:TextBox ID="txtTo" runat="server"></asp:TextBox>
                <cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtTo">
                </cc1:CalendarExtender>
            </td>
        </tr>
        <tr>
            <td>
                <asp:LinkButton ID="lnkMonthlySummary" runat="server" Text="Generate Report"></asp:LinkButton>
            </td>
        </tr>
    </table>
    </asp:Panel>
    
</asp:Content>

